package org.linlinjava.litemall.admin.controller.order.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.linlinjava.litemall.admin.util.DateUtil;
import org.linlinjava.litemall.core.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

@Data
@ApiModel("店铺订单按日统计查询")
public class AdminShopOrderDayStatisticsPageReqVO extends PageParam {

    @ApiModelProperty("订单来源")
    private Integer orderSource;

    @ApiModelProperty("门店id")
    private Integer shopId;

    @ApiModelProperty("时间")
    @DateTimeFormat(pattern = DateUtil.YYYY_MM_DD_HH_MM_SS)
    private LocalDateTime[] dateRange;

}

